#!/usr/bin/python2.4
#
# Copyright 2011 Google Inc. All Rights Reserved.

from gaesessions import SessionMiddleware

def webapp_add_wsgi_middleware(app):
    try:
        app = SessionMiddleware(app, cookie_key="pytest-for-appengine-pytest-for-appengine-pytest-for-appengine-pytest-for-appengine-pytest-for-appengine-pytest-for-appengine")
    except Exception, e:
        pass
    return app